.POSIX:
LBL= lbl
NROFF= nroff

# Commands run by bsdmake don't seem to have a controlling tty. At
# least, "most" doesn't paginate. So user must run $PAGER themselves
# outside bsdmake.

.PHONY: doc
doc:	lbl.ms
	$(LBL) lbl.ms | $(NROFF) -ms

.PHONY: man
man:	../src/lbl.1
	$(NROFF) -man ../src/lbl.1

.PHONY: example
example:	example.n
	lbl example.n | $(NROFF) -ms
